<template>
  <div>
    <Pager  :total="total" :current="current" @pageChange="handlePageChange($event)"/>
  </div>
</template>

<script>
import Pager from './';
export default {
  components: {
    Pager,
  },
  data() {
    return{
    total:300,
    current:1
    }
  },
  methods: {
    handlePageChange(newPage) {
       this.current=newPage;
    }
 
  }
}
</script>
